import { PagedQueryParam, RefBean, Selectable} from 'iisp-ng';

export class DataTable extends Selectable{
    code: string;
    name: string;
    description: string;
    groupCode: string;
    groupName: string; 
    columns: DataTableColumn[];
}
export class DataTableColumn extends RefBean{
    dataType: string;
    isFilter: boolean;
    pattern: string;
    options: any;
}

export class TableDataVO {
    dataTable:DataTable;
    datas: Object[][] ;
}

export class DataInputState extends Selectable{
    state :string ;
    dataDate : string;
    inputAt : Date;
    extDataSource:ExtDataSource;
    completeTime:string;
}
export class ExtDataSource{
    inType:string;
    code:string;
    name:string;
}

export class Approver{
   code:string; 
   name:string;
}
export class DataInputDate extends Selectable {
    state:string;
    dataDate:string;
    dueDate:Date;
    effectFromDate:Date;
    title:string;
    approver:string ;
    approverName:string ;
    fileUrl: string;
    activeState:string;
    isActive:boolean;
    processInstId:string;
}

export class DataDetail{
    
}

export class TablePagedQueryParam extends PagedQueryParam{
}
